SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '36af76062c3bd68a17114525d0ed99e8a7d77086b696e1a15fe12bbf070f1217' 
  AND token = '6GAYHwGRkMzMiELbJ+Wtl9W5SaxRqnBC8TV2XPrjHZk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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