SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd227f49c58d2e01c02535aa4732cbe5c066f6e13443bf83efc67ee162721052c' 
  AND token = 't/xUwisj6d1QYZgf2ww3BNp8zWVS5qwBSbDSJw67YPA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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