SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd71e94019c52eef496456a5fc7f657982e31f48db04bf477c0339855d0ebeb71' 
  AND token = '+E4JkNEhU4/CxSO+7dz46sb6Bm/hyx319BCmfsmLw2Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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