SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77f57716946457ad4e7d3b40c0f67473326025c30cfc7ebbffe279e8226c7dfc' 
  AND token = 'CQnXM804grgOJkqMOoOG2kJLv92u8+EtzdDJjmEnST0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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