SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd167532ed3a5c157d7b165c30e5b1eb1ea561aa29da8d094525773c8b2c8c343' 
  AND token = 'n5cvcEbuxSdi2crWETNi47Fk3x+Q1KGeUeXXEoVI/Co=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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