SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f867025491902e0c1ec16005eb016ce4949314289d58a276fc940a5075253f4' 
  AND token = 'v4kEOq6AgyBUEUXkLqygIDiqkcBdivDAa07LqYsgd0Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}