SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'efd95988724d4e32915181af618dd8d4a0c0f79e7860ab9e439bc4b70b15d66e' 
  AND token = 'aBgdxODFBFgyaPQtYkZ/0cZ+CSwVD1E1sbwr1G7Invs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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