SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a6b0bc93fdea2bb751b0e6784cc0941309540fb9524c5d02966ac21f7d6ec1c' 
  AND token = 'RRzrONDvQVb9ZWT+jjOzRMUyPIDpAjb18aPh6q+wu6c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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