SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4c4370c27a33f322771a42fba5467378c122ec0091c0918a4bdedcfa4d729d50' 
  AND token = '6s7OuIztOUA596UilKu0ImuNuQKFbK32R2l+uI2Eli4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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