SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0977aee6dc197aaa894cd3efef48bb4993ba8cb89c7647aa212172c127c0e64c' 
  AND token = 'o0XlOWBGt9iGqCI/y48Jyc29es868YpLf82WD0ojrIg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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